package com.ifast.oupei.service;

import com.ifast.oupei.domain.LeagueDO;
import com.ifast.oupei.vo.LeagueVO;

import java.util.List;

import com.baomidou.mybatisplus.plugins.Page;
import com.ifast.common.base.CoreService;

/**
 * 
 * <pre>
 * 联赛信息表
 * </pre>
 * <small> 2018-04-19 10:02:56 | Aron</small>
 */
public interface LeagueService extends CoreService<LeagueDO> {
	
    public List<String> listAllLeagueName();
    
    public List<String> listAllSeaon(String leagueName);
    
    public List<LeagueVO> listAllTurn(String leagueName,String season);
    
    //获取所有比赛
  	Page<LeagueDO> ListAllLeagueInfo(Page<LeagueDO> page);
  	
  //获取所有轮次
  	List<LeagueDO> listLeague(String leagueName,String season,String cupMatchCode);
  //获取所有轮次
  	List<LeagueDO> listLeague(String leagueName,String season);
  //根据联赛名称获取所以的联赛信息
  	List<LeagueDO> listLeagueByName(String leagueName);
  	//获取默认赛季
  	LeagueDO getSeason(String name);
}
